package cn.itsource.org.mapper;

import cn.itsource.org.domain.Department;
import cn.itsource.org.query.DepartMentQuery;

import java.util.List;

public interface DepartMentMapper {
    //查询一条
    public Department selectById(Long id);
    //添加
    public void addDepaerMent(Department department);
    //删除
    public void delete(Long id);
    public void update(Department department);
   //查询所有
    List<Department> loadAll();

    public Long count();

   public List<Department> pageLoad(DepartMentQuery query);

}
